package com.four.dao;

import com.four.pojo.Car;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository("carMapper")
public interface CarMapper {
    int deleteByPrimaryKey(Integer cid);

    int insert(Car record);

    int insertSelective(Car record);

    Car selectByPrimaryKey(Integer cid);

    int updateByPrimaryKeySelective(Car record);

    int updateByPrimaryKey(Car record);

    List<Car> findAll();
}